package com.glela.goods.mapper;


import com.glela.goods.model.ReceiveGoodsCache;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ReceiveGoodsCacheMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ReceiveGoodsCache record);

    int insertSelective(ReceiveGoodsCache record);

    ReceiveGoodsCache selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ReceiveGoodsCache record);

    int updateByPrimaryKeyWithBLOBs(ReceiveGoodsCache record);

    int updateByPrimaryKey(ReceiveGoodsCache record);

    List<ReceiveGoodsCache> selectLikeAll(ReceiveGoodsCache vo);

    Integer selectLikeAllCount(ReceiveGoodsCache vo);

    List<ReceiveGoodsCache> selectAll(ReceiveGoodsCache vo);

    Integer selectAllCount(ReceiveGoodsCache vo);

    List<Map<String,Object>> queryAllGYProductByStoreId(@Param("storeId") String storeId);
}